# -*- coding: utf-8 -*-
# FileName: urls.py
# Create by Hardy on 2020-07-19
# Description:

from django.urls import path
from django.conf.urls import include
from rest_framework.routers import DefaultRouter
from snippets import views

router = DefaultRouter()
router.register(r'snippets', views.SnippetViewSet)
router.register(r'users', views.UserViewSet)

urlpatterns = [
    path('', include(router.urls)),
]